<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:rich="http://richfaces.org/rich"
      xmlns:a4j="http://richfaces.org/a4j">

    <ui:composition template="/Templates/SPI.xhtml">
        <ui:define name="header">

        </ui:define>
        <ui:define name="content">
            <rich:tabPanel id="tabPanelPlan">
                <rich:tab label="Plan Estrategico">
                    <rich:panel>
                        <rich:dataTable id="modulo" onRowMouseOver="this.style.backgroundColor='#F1F1F1'"
                                         onRowMouseOut="this.style.backgroundColor='#{a4jSkin.tableBackgroundColor}'"
                                         cellpadding="0" cellspacing="0"
                                         width="700" border="0" var="_modulo" value="#{menuAdm.modulo}">
                            <a4j:support event="onRowclick" action="#{menuAdm.seleccionarModulo(_modulo)}" immediate="true" />
                            <rich:column>
                                <f:facet name="header">Código</f:facet>
                                <h:outputText value="#{_modulo.modCodigo}"></h:outputText>
                            </rich:column>
                            <rich:column>
                                <f:facet name="header">Código</f:facet>
                                <h:outputText value="#{_modulo.modDescripcion}"></h:outputText>
                                <a4j:support event="onblur" reRender="modulo" />
                            </rich:column>

                        </rich:dataTable>
                    </rich:panel>


                </rich:tab>

            </rich:tabPanel>
        </ui:define>
        <ui:define name="footer">
	    Add your footer here or delete to use the default
        </ui:define>
    </ui:composition>
</html>